package com.ls.controller.activity;

import com.ls.service.IActivityService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 活动 前端控制器
 * </p>
 *
 * @author pengyu
 * @since 2024-10-12
 */
@Slf4j
@Api(value = "APP活动相关接口", tags = "APP活动相关接口")
@RestController
@RequiredArgsConstructor
@RequestMapping("/activityApp")
public class ActivityAppController {
    private final IActivityService service;
    /**app展示活动活动*/
    @GetMapping("getActivityList")
    public ResultData getActivityList() {
        return service.getActivityList();
    }
}
